package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_family")
@Data
public class TbFamily {
    /**
     * 主键
     */
    @Id
    @Column(name = "UID")
    private String uid;

    /**
         * 姓名
     */
    @Column(name = "NAME")
    private String name;

    /**
     * 关系 
     */
    @Column(name = "RELATIONSHIP")
    private String relationship;

    /**
     * 性别
     */
    @Column(name = "SEX")
    private String sex;

    /**
     * 联系电话
     */
    @Column(name = "CONTACT_NUM")
    private Integer contactNum;

    /**
     * 手机号码
     */
    @Column(name = "TEL")
    private String tel;

    /**
     * 职业
     */
    @Column(name = "OCCUPATION")
    private String occupation;

    /**
     * 生日
     */
    @Column(name = "BIRTHDAY")
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date birthday;

    /**
     * 身份证号
     */
    @Column(name = "ID_CARD")
    private String idCard;

    /**
     * 身高
     */
    @Column(name = "HEIGHT")
    private Double height;

    /**
     * 体重
     */
    @Column(name = "BODY_WEIGHT")
    private Double bodyWeight;

    /**
     * 政治面貌
     */
    @Column(name = "POLITICAL_STATUS")
    private String politicalStatus;

    /**
     * 户口类型
     */
    @Column(name = "ACCOUNT_TYPES")
    private String accountTypes;

    /**
     * 婚姻状况
     */
    @Column(name = "MARITAL_STATUS")
    private String maritalStatus;

    /**
     * 国籍
     */
    @Column(name = "COUNTRY_CITIZENSHIP")
    private String countryCitizenship;

    /**
     * 房间id
     */
    @Column(name = "ROOMID")
    private String roomid;

    /**
     * 用户id
     */
    @Column(name = "CODE_ID")
    private String codeId;

    /**
     * 籍贯
     */
    @Column(name = "HOMETOWM")
    private String hometowm;

    /**
     * 出入证号
     */
    @Column(name = "OUT_IN_CODE")
    private String outInCode;

    /**
     * 居中类别
     */
    @Column(name = "TYPE")
    private String type;

    /**
     * 工作单位
     */
    @Column(name = "WORK_UNIT")
    private String workUnit;

    /**
     * 民族
     */
    @Column(name = "NATION")
    private String nation;

    /**
     * 暂住证号
     */
    @Column(name = "ZCZH")
    private String zczh;

    /**
     * 户籍地址
     */
    @Column(name = "RESIDENCE_ADDRESS")
    private String residenceAddress;

    /**
     * 入住日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "MOVE_IN")
    private Date moveIn;

    /**
     * 备注
     */
    @Column(name = "BZ")
    private String bz;
    /**
     * 楼宇
     */
    @Column(name = "XQMC")
    private String xqmc;
    /**
     * 房间编号
     */
    @Column(name = "FJBH")
    private String fjbh;
    /**
     * 房间编号
     */
    @Column(name = "ZFBJ")
    private String zfbj;
    /**
     * 创建人
     */
    @Column(name = "CUSER_ID")
    private String cuserId;
    /**
     * 修改人
     */
    @Column(name = "UUSER_ID")
    private String uuserId;
    /**
     * 创建时间
     */
    @Column(name = "CJSJ")
    private Date cjsj;
    /**
     * 修改时间
     */
    @Column(name = "XGSJ")
    private Date xgsj;
    /**
     * 楼宇名称
     */
    @Column(name = "LYMC")
    private String lymc;

    /**
     * 获取主键
     *
     * @return UID - 主键
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置主键
     *
     * @param uid 主键
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取姓名
     *
     * @return NAME - 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置姓名
     *
     * @param name 姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取关系 
     *
     * @return RELATIONSHIP - 关系 
     */
    public String getRelationship() {
        return relationship;
    }

    /**
     * 设置关系 
     *
     * @param relationship 关系 
     */
    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    /**
     * 获取性别
     *
     * @return SEX - 性别
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置性别
     *
     * @param sex 性别
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取联系电话
     *
     * @return CONTACT_NUM - 联系电话
     */
    public Integer getContactNum() {
        return contactNum;
    }

    /**
     * 设置联系电话
     *
     * @param contactNum 联系电话
     */
    public void setContactNum(Integer contactNum) {
        this.contactNum = contactNum;
    }

    /**
     * 获取手机号码
     *
     * @return TEL - 手机号码
     */
    public String getTel() {
        return tel;
    }

    /**
     * 设置手机号码
     *
     * @param tel 手机号码
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * 获取职业
     *
     * @return OCCUPATION - 职业
     */
    public String getOccupation() {
        return occupation;
    }

    /**
     * 设置职业
     *
     * @param occupation 职业
     */
    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    /**
     * 获取生日
     *
     * @return BIRTHDAT - 生日
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置生日
     *
     * @param birthday 生日
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取身份证号
     *
     * @return ID_CARD - 身份证号
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * 设置身份证号
     *
     * @param idCard 身份证号
     */
    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    /**
     * 获取身高
     *
     * @return HEIGHT - 身高
     */
    public Double getHeight() {
        return height;
    }

    /**
     * 设置身高
     *
     * @param height 身高
     */
    public void setHeight(Double height) {
        this.height = height;
    }

    /**
     * 获取体重
     *
     * @return BODY_WEIGHT - 体重
     */
    public Double getBodyWeight() {
        return bodyWeight;
    }

    /**
     * 设置体重
     *
     * @param bodyWeight 体重
     */
    public void setBodyWeight(Double bodyWeight) {
        this.bodyWeight = bodyWeight;
    }

    /**
     * 获取政治面貌
     *
     * @return POLITICAL_STATUS - 政治面貌
     */
    public String getPoliticalStatus() {
        return politicalStatus;
    }

    /**
     * 设置政治面貌
     *
     * @param politicalStatus 政治面貌
     */
    public void setPoliticalStatus(String politicalStatus) {
        this.politicalStatus = politicalStatus;
    }

    /**
     * 获取户口类型
     *
     * @return ACCOUNT_TYPES - 户口类型
     */
    public String getAccountTypes() {
        return accountTypes;
    }

    /**
     * 设置户口类型
     *
     * @param accountTypes 户口类型
     */
    public void setAccountTypes(String accountTypes) {
        this.accountTypes = accountTypes;
    }

    /**
     * 获取婚姻状况
     *
     * @return MARITAL_STATUS - 婚姻状况
     */
    public String getMaritalStatus() {
        return maritalStatus;
    }

    /**
     * 设置婚姻状况
     *
     * @param maritalStatus 婚姻状况
     */
    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    /**
     * 获取国籍
     *
     * @return COUNTRY_CITIZENSHIP - 国籍
     */
    public String getCountryCitizenship() {
        return countryCitizenship;
    }

    /**
     * 设置国籍
     *
     * @param countryCitizenship 国籍
     */
    public void setCountryCitizenship(String countryCitizenship) {
        this.countryCitizenship = countryCitizenship;
    }

    /**
     * 获取房间id
     *
     * @return ROOMID - 房间id
     */
    public String getRoomid() {
        return roomid;
    }

    /**
     * 设置房间id
     *
     * @param roomid 房间id
     */
    public void setRoomid(String roomid) {
        this.roomid = roomid;
    }

    /**
     * 获取用户id
     *
     * @return CODE_ID - 用户id
     */
    public String getCodeId() {
        return codeId;
    }

    /**
     * 设置用户id
     *
     * @param codeId 用户id
     */
    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }

    /**
     * 获取籍贯
     *
     * @return HOMETOWM - 籍贯
     */
    public String getHometowm() {
        return hometowm;
    }

    /**
     * 设置籍贯
     *
     * @param hometowm 籍贯
     */
    public void setHometowm(String hometowm) {
        this.hometowm = hometowm;
    }

    /**
     * 获取出入证号
     *
     * @return OUT_IN_CODE - 出入证号
     */
    public String getOutInCode() {
        return outInCode;
    }

    /**
     * 设置出入证号
     *
     * @param outInCode 出入证号
     */
    public void setOutInCode(String outInCode) {
        this.outInCode = outInCode;
    }

    /**
     * 获取居中类别
     *
     * @return TYPE - 居中类别
     */
    public String getType() {
        return type;
    }

    /**
     * 设置居中类别
     *
     * @param type 居中类别
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取工作单位
     *
     * @return WORK_UNIT - 工作单位
     */
    public String getWorkUnit() {
        return workUnit;
    }

    /**
     * 设置工作单位
     *
     * @param workUnit 工作单位
     */
    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    /**
     * 获取民族
     *
     * @return NATION - 民族
     */
    public String getNation() {
        return nation;
    }

    /**
     * 设置民族
     *
     * @param nation 民族
     */
    public void setNation(String nation) {
        this.nation = nation;
    }

    /**
     * 获取暂住证号
     *
     * @return ZCZH - 暂住证号
     */
    public String getZczh() {
        return zczh;
    }

    /**
     * 设置暂住证号
     *
     * @param zczh 暂住证号
     */
    public void setZczh(String zczh) {
        this.zczh = zczh;
    }

    /**
     * 获取户籍地址
     *
     * @return RESIDENCE_ADDRESS - 户籍地址
     */
    public String getResidenceAddress() {
        return residenceAddress;
    }

    /**
     * 设置户籍地址
     *
     * @param residenceAddress 户籍地址
     */
    public void setResidenceAddress(String residenceAddress) {
        this.residenceAddress = residenceAddress;
    }

    /**
     * 获取入住日期
     *
     * @return MOVE_IN - 入住日期
     */
    public Date getMoveIn() {
        return moveIn;
    }

    /**
     * 设置入住日期
     *
     * @param moveIn 入住日期
     */
    public void setMoveIn(Date moveIn) {
        this.moveIn = moveIn;
    }

    /**
     * 获取备注
     *
     * @return BZ - 备注
     */
    public String getBz() {
        return bz;
    }

    /**
     * 设置备注
     *
     * @param bz 备注
     */
    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getXqmc() {
        return xqmc;
    }

    public void setXqmc(String xqmc) {
        this.xqmc = xqmc;
    }

    public String getFjbh() {
        return fjbh;
    }

    public void setFjbh(String fjbh) {
        this.fjbh = fjbh;
    }

    public String getZfbj() {
        return zfbj;
    }

    public void setZfbj(String zfbj) {
        this.zfbj = zfbj;
    }
}